import request from '@/utils/request'

export function listtcOvertime(query) {
  return request({
    url: '/tcOvertime/list',
    method: 'get',
    params: query
  })
}

export function createtcOvertime(data) {
  return request({
    url: '/tcOvertime/create',
    method: 'post',
    data
  })
}

export function readtcOvertime(data) {
  return request({
    url: '/tcOvertime/get/' + data.id,
    method: 'get'
  })
}

export function updatetcOvertime(data) {
  return request({
    url: '/tcOvertime/update',
    method: 'post',
    data
  })
}

export function deletetcOvertime(data) {
  return request({
    url: '/tcOvertime/delete/' + data.fid,
    method: 'delete'
  })
}
